<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%>
<%@ taglib prefix="x_rt" uri="http://java.sun.com/jstl/xml_rt"%>
<%@ taglib prefix="wr_fn" uri="http://njo.org/taglib/functions"%>
<h3><!-- img alt="" src="" --><a name="welcome">${board.title}</a><font color="blue">TODO:需要弄得好看点</font></h3>
<pre></pre>
<div class="nav smaller">
<a href="./forum.tiles">论坛</a> -> <a href="${pageContext.request.contextPath}/processor.listsubject.tiles?board=${board.id}">${board.title}</a> -> 回复文章
</div>
<form name="postform" method="post" action="${pageContext.request.contextPath}/processor.replysubject.tiles" class="large">
  <input type="hidden" name="board" value="${board.id}"/>
  <input type="hidden" name="replyid" value="${subject.id}"/>
  <fieldset class="postforum">
    <legend>回复文章</legend>
    发信人: ${remoteUser.name}, 板块: ${board.title} [<a href="${pageContext.request.contextPath}/processor.listsubject.tiles?board=${board.id}">本讨论区</a>]<br/>
    标&nbsp;&nbsp;题: <input class="postforum" type="text" tabindex="1" name="title" size="40" maxlength="100" value="Re:${subject.title}" id="sfocus"/><br/>
    附&nbsp;&nbsp;件: <input class="postforum" type="text" name="attachment" size="40" value="" disabled="disabled"/><a href="./upload.tiles" target="_blank">操作附件</a>(新窗口打开)<br/>
    <input class="postforum" type="checkbox" name="whenreplytomail" value="1" />re文抄送信箱<br>
    <textarea class="postforum" name="content" tabindex="2" width="100%" height="300%" wrap="physical">



[在 ${subject.author} (彭宇) 的文章中提到:]
<c:out value="${wr_fn:fixpreOfLine(subject.content, ': ')}" escapeXml='true'/></textarea><br/>
    <div align="center">
      <input class="postforum" type="button" onclick="postform.submit();" tabindex="3" name="post" value="发表"/>&nbsp;&nbsp;&nbsp;&nbsp;
      <input class="postforum" class="sb1" type="reset" value="返回" onclick="history.go(-1)"/>
    </div>
  </fieldset>
</form>
